extends Resource
class_name GameData

@export var game_id : String
@export var game_name : String

func _get_stuct() -> Dictionary :
	return {
		"game_id" : game_id,
		"game_name" : game_name
	}

func _init(data : Dictionary = {}) -> void :
	game_name = data.get("game_name","新的存档")
	game_id = data.get("game_id",GetRid.new().generate_uuid_like())
